import { MAIN_JUMP_INFO } from './../../helper';
import Component from '../index'

function useTemplate() {
  const brand = new Component.brand({
    tx_component: 'brand',
    type: 'brand'
  })
  const text_link = new Component.text_link({
    tx_component: 'text_link',
    type: 'text_link'
  })
  const action_button = new Component.action_button({
    tx_component: 'action_button',
    type: 'action_button'
  });
  const label = new Component.label({
    tx_component: 'label',
    type: 'label'
  })
  const floating_zone = new Component.floating_zone({
    tx_component: 'floating_zone',
    type: 'floating_zone'
  });

  return {
    [MAIN_JUMP_INFO]: new Component[MAIN_JUMP_INFO]({
      tx_component: [MAIN_JUMP_INFO],
      type: [MAIN_JUMP_INFO]
    }),
    brand,
    text_link,
    action_button,
    label,
    floating_zone


  }
}

export { useTemplate }
